﻿using System;
using System.Collections.Generic;

namespace tju.cme.BookStore2024.webapi.Models.EF;

public partial class T011author
{
    /// <summary>
    /// 作者Id
    /// </summary>
    public Guid Id { get; set; }

    /// <summary>
    /// 用户名
    /// </summary>
    public string UserName { get; set; } = null!;

    /// <summary>
    /// 密码
    /// </summary>
    public string Password { get; set; } = null!;

    /// <summary>
    /// 昵称
    /// </summary>
    public string NickName { get; set; } = null!;

    /// <summary>
    /// 作者简介
    /// </summary>
    public string AuthorProfile { get; set; } = null!;

    /// <summary>
    /// 指定管理员ID
    /// </summary>
    public Guid? AdministratorId { get; set; }

    /// <summary>
    /// 作者邮箱
    /// </summary>
    public string? Email { get; set; }

    /// <summary>
    /// 作者电话
    /// </summary>
    public int? TelephoneNumber { get; set; }

    public virtual T022administrator? Administrator { get; set; }
}
